﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ChuyenMucPage.master" AutoEventWireup="true"
    CodeFile="SubChuyenMuc.aspx.cs" Inherits="SubChuyenMuc" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ChuyenMucHead1" runat="Server">
    <title>
        <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
        -
        <%= Common.title %>
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ChuyenMucContent1" runat="Server">
    <asp:HiddenField ID="H_HiddenIDSub" runat="server" Value="0" />
    <asp:HiddenField ID="H_HiddenIdLoai" runat="server" Value="0" />
    <div id="media-tintuc-wrapper">
        <!---------------------------->
        <div id="media-tintuc-top">
            <div id="icon-dua">
                <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/dltn/caydua.png" />
            </div>
            <div class="text-time">
                <div class="text">
                    <asp:HyperLink ID="linkHome" runat="server" NavigateUrl="~/" CssClass="linkHome">TRANG CHỦ</asp:HyperLink>
                    »
                    <asp:HyperLink ID="linkSubChuyenMuc" runat="server" NavigateUrl="~/" CssClass="linkHome">
                        <asp:Literal ID="litTenLoaiChuyenMuc" runat="server"></asp:Literal></asp:HyperLink>
                    »
                    <asp:Literal ID="litTenSubChuyenMuc" runat="server"></asp:Literal>
                </div>
                <div class="time">
                    <asp:Literal ID="lblNgayCapNhat" runat="server"></asp:Literal>
                </div>
            </div>
            <div class="link">
                <div class="icon">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/dltn/twisterMini.png" /></div>
                <div class="icon">
                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/dltn/facebookMini.png" /></div>
            </div>
        </div>
        <!---------------------------->
        <div id="media-tintuc-mainset">
            <asp:Literal ID="ltrMainset" runat="server"></asp:Literal>
        </div>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <!---------------------------->
                <div id="media-tintuc-other">
                    &nbsp;
                    <asp:DataList ID="dtlOthers" runat="server" RepeatColumns="1" RepeatLayout="Flow">
                        <ItemTemplate>
                            <div id="other-news">
                                <div id="title" style="height: auto">
                                    <br />
                                    <a href='<%# "../../../ChuyenMuc/" + Eval("Id") + "/" + Eval("IdSubChuyenMuc") + "/" + GetTieuDe(Eval("TieuDe")) + ".aspx" %>'>
                                        <%# Eval("TieuDe") %></a>
                                </div>
                                <div id="news-img" style="padding-top: 10px;">
                                    <a href='<%# "../../../ChuyenMuc/" + Eval("Id") + "/" + Eval("IdSubChuyenMuc") + "/" + GetTieuDe(Eval("TieuDe")) + ".aspx" %>'>
                                        <img src="../../../Upload/ChuyenMuc/<%# Eval("AnhDaiDien") %>" />
                                    </a>
                                </div>
                                <div id="news-content">
                                    <%# Eval("TomTat") %>
                                </div>
                                <div style="width: 640px; height: 10px; border: 1px solid #fff; float: left;">
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
                <div id="other-paging">
                    <div style="float: right; min-width: 100px; width: auto; height: 20px;">
                        <cc1:Pager ID="Pager1" runat="server" PreviousClause="Lùi" NextClause="Tiến" LastClause=""
                            FirstClause="" PageClause="<html><b>Trang </b></html>" ShowResultClause="Hiển thị từ"
                            ShowingResultClause="Đang hiển thị từ" BackToPageClause="Quay lại trang" OfClause=" /"
                            PageSize="4" OnCommand="Pager1_Command" ForeColor="#CC0000" Font-Bold="True" />
                    </div>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="Pager1" EventName="Command" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    <div class="fb-like" data-href="<%# Common.sPathUpLienKet+ HttpContext.Current.Request.Url.AbsolutePath.ToString()%>"
        data-width="640" data-show-faces="true" data-send="true">
    </div>
    <div class="fb-comments" data-href='<%#Common.sPathUpLienKet+ HttpContext.Current.Request.Url.AbsolutePath.ToString()%>'
        data-width="640" data-num-posts="10">
    </div>
</asp:Content>
